<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
  <head>
    <title> news_edit </title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" >
    <?php htmlhead(); ?>
  </head>
  
  <body>

    <form method="post" action="?act=news_edit" name="myform" id="myform" class="myform">
      <input type="hidden" name="id" value="<?php echo $data['article_id'];?>" />
      <div class="panel">      
        <div class="t">修改新闻</div>
        <dl>
          <dt>标题:</dt>
          <dd><input type="text" name="article_title" value="<?php echo $data['article_title'];?>" /></dd>
        </dl>
        <dl>
          <dt>时间:</dt>
          <dd><input type="text" name="article_time" value="<?php echo date('Y-m-d H:i:s',$data['article_time']); ?>" /></dd>
        </dl>
        <dl>
          <dt>排序:</dt>
          <dd><input type="text" name="article_rank" value="<?php echo $data['article_rank'];?>" /></dd>
        </dl>
        <dl>
          <dt>内容:</dt>
          <dd><textarea name="article_content" class="xheditor"><?php echo $data['article_content'];?></textarea></dd>
        </dl>
        <dl><dt></dt>
          <dd><input type="submit" value="修改" class="btn" /></dd>
        </dl>
      </div>
    </form>

    <script>
    <?php echo getTips(); ?>
    </script>
    
</body>
</html>